.windows-os .header{
  text-align: right;
}

*{
  outline: none;
  box-sizing: border-box;
}
button{
  -webkit-appearance: none;
  border:none;
  padding:0;
}
body,html{
  width:100%;
  height:100%;
  overflow: hidden;
}
body{
  user-select: none;
  margin:0;
}
.img-container{
  position:absolute;
  top:0;
  left:0;
  bottom:0;
  right:0;
}
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(28, 37, 47, 0.7);
  padding: 12px 14px;
  -webkit-app-region: drag;
  line-height: 1em;
  /* display: none; */
}

body:hover .header, body:hover .img-operations {
  /* display: block; */
}

.icon-prev, .icon-next{
  width:50px;
  height:50px;
  position:fixed;
  z-index: 10;
  top:0;
  bottom:0;
  margin:auto 0;
  border-radius: 50%;
  z-index: 10;
}
.icon-prev{
  left:10px;
}

.icon-next{
  right:10px;
}
img{
  width:100%;
  height:100%;
  transform: rotate(0);
}
.img-wrapper{
  display: inline-block;
  width:300px;
  height:300px;
  top:0;
  left:0;
  right:0;
  bottom:0;
  margin:auto;
  position: absolute;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}
.img-wrapper{
  cursor: hand;
}
.loading {
  background:url(./../../images/loading.gif) center no-repeat;
  background-size:30px;
}
.loading .img-wrapper{
  display: none;
}
.img-wrapper:before{
  content:"";
  display: block;
  top:-1px;
  left:-1px;
  right: -1px;
  bottom:-1px;
  position: absolute;
  z-index: 5;
}
.free_move{
  margin:0;
}

.img-operations{
  position: fixed;
  bottom: 0;
  z-index: 10;
  text-align: center;
  left: 0;
  right: 0;
  /* display: none; */
}

.operations-btns{
  padding: 12px;
  background: rgba(28, 37, 47, 0.7);
  border-radius: 6px 6px 0 0;
  line-height: 1em;
  display: inline-block;
}

.operations-btns *{
  font-size:16px;
  background:none;
  margin:0 7px;
  color:#fff;
}

button:hover{
  color:#1A98FF;
}

.icon-star.incollect{
  color:#F5A623!important;
}

input{
  display:none;
}

#waterMask{
  position: fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  z-index: 100;
  pointer-events:none;
}

.close-window{
  color:#fc625d;
  background:#fc625d;
  border-radius:50%;
  -webkit-app-region:no-drag;
  width:10px;
  height:10px;
}

.close-window:before{
  position: relative;
  top:-1px;
  left:-1px;
  height:1em;
  width:1em;
}

button.close-window:hover{
  background:#333!important;
  color:#fc625d;
}

#messageContainer{
  position: fixed;
  top:60px;
  bottom:0;
  z-index: 100;
  pointer-events:none;
  left:50%;
  transform: translateX(-50%);
}

.message{
  opacity: 1;
  transition: opacity 1s;
  transition-delay: 2s;
  background: #fff;
  padding: 10px 20px 10px 44px;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  position: relative;
  line-height: 1em;
  font-size:14px;
  margin-bottom:15px;
}

.message::before{
  border-radius: 50%;
  color: #fff;
  width: 30px;
  height: 30px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  line-height: 30px;
  transform: scale(0.5);
  position: absolute;
  margin: auto;
  top: 2px;
  bottom: 0;
  left: 15px;
}

.dying-message{
  opacity:0!important;
}

.icon-warning{
  background:#FEEFEE;
}

.icon-success:before{
  background:#1A98FF;
}

.icon-warning:before{
  background:#FC6359;
}